import QtQuick 2.0
import "./Components"
Item {
    width: bg.width
    height: bg.height
    x:200
    y:50
    Image{
        id:bg
        source: "images/background.png"
    }
    MouseArea{
        id:backgroundClicker
        anchors.fill: parent
        onClicked: {

        }
    }
    ClickableImage{
        id:rocket1
        x:200
        y:50
        width: 200
        height: 300
        source: "images/huojian.jpg"
        onClicked: {
            x+=5
        }
    }
    ClickableImage{
        id:rocket2
        x:400
        y:50
        width: 200
        height: 300
        smooth: true
        source: "images/huojian.jpg"
        onClicked: {
            rotation+=5
        }
    }
    ClickableImage{
        id:rocket3
        x:600
        y:50
        width: 200
        height: 300
        smooth: true
        source: "images/huojian.jpg"
        onClicked: {
            rotation+=5
            scale-=0.5
        }
    }
}
